.class Lcom/netease/newsreader/activity/DetailPage$1;
.super Ljava/lang/Object;
.source "DetailPage.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/DetailPage;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/DetailPage;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/DetailPage;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    .line 1056
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/DetailPage$1;)Lcom/netease/newsreader/activity/DetailPage;
    .locals 1
    .parameter

    .prologue
    .line 1056
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 13
    .parameter "v"

    .prologue
    const/4 v4, -0x1

    const/4 v3, 0x1

    const/4 v2, 0x0

    .line 1063
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$0(Lcom/netease/newsreader/activity/DetailPage;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 1207
    :cond_0
    :goto_0
    return-void

    .line 1067
    :cond_1
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$1(Lcom/netease/newsreader/activity/DetailPage;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_0

    .line 1068
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$2(Lcom/netease/newsreader/activity/DetailPage;)Landroid/widget/ViewFlipper;

    move-result-object v0

    .line 1069
    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->getCurrentView()Landroid/view/View;

    move-result-object v0

    .line 1068
    check-cast v0, Landroid/widget/FrameLayout;

    .line 1069
    invoke-virtual {v0, v3}, Landroid/widget/FrameLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    .line 1068
    check-cast v0, Landroid/widget/LinearLayout;

    .line 1069
    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    .line 1068
    if-eqz v0, :cond_0

    .line 1072
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0, v3}, Lcom/netease/newsreader/activity/DetailPage;->access$3(Lcom/netease/newsreader/activity/DetailPage;Z)V

    .line 1073
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$4(Lcom/netease/newsreader/activity/DetailPage;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "s"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$4(Lcom/netease/newsreader/activity/DetailPage;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "S"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_7

    .line 1075
    :cond_2
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$5(Lcom/netease/newsreader/activity/DetailPage;)Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$6(Lcom/netease/newsreader/activity/DetailPage;)I

    move-result v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPage;->access$5(Lcom/netease/newsreader/activity/DetailPage;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    if-ge v0, v1, :cond_6

    .line 1076
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$6(Lcom/netease/newsreader/activity/DetailPage;)I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    invoke-static {v0, v1}, Lcom/netease/newsreader/activity/DetailPage;->access$7(Lcom/netease/newsreader/activity/DetailPage;I)V

    .line 1077
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$5(Lcom/netease/newsreader/activity/DetailPage;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPage;->access$6(Lcom/netease/newsreader/activity/DetailPage;)I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v10

    check-cast v10, Ljava/util/HashMap;

    .line 1078
    .local v10, smap:Ljava/util/HashMap;
    if-eqz v10, :cond_0

    .line 1079
    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    const-string v0, "docid"

    invoke-virtual {v10, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v1, v0}, Lcom/netease/newsreader/activity/DetailPage;->access$8(Lcom/netease/newsreader/activity/DetailPage;Ljava/lang/String;)V

    .line 1080
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/util/FileUtils;->clearCache(Landroid/content/Context;)V

    .line 1081
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$2(Lcom/netease/newsreader/activity/DetailPage;)Landroid/widget/ViewFlipper;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->getCurrentView()Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    invoke-virtual {v0, v2}, Landroid/widget/FrameLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/webkit/WebView;

    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPage;->access$9(Lcom/netease/newsreader/activity/DetailPage;)Landroid/webkit/WebView;

    move-result-object v1

    if-ne v0, v1, :cond_4

    .line 1082
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$10(Lcom/netease/newsreader/activity/DetailPage;)Landroid/webkit/WebView;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/webkit/WebView;->setId(I)V

    .line 1083
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$10(Lcom/netease/newsreader/activity/DetailPage;)Landroid/webkit/WebView;

    move-result-object v0

    sget-object v1, Lcom/netease/newsreader/activity/DetailPage;->blankHtml:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    .line 1092
    :goto_1
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$2(Lcom/netease/newsreader/activity/DetailPage;)Landroid/widget/ViewFlipper;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPage;->access$11(Lcom/netease/newsreader/activity/DetailPage;)Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setInAnimation(Landroid/view/animation/Animation;)V

    .line 1093
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$2(Lcom/netease/newsreader/activity/DetailPage;)Landroid/widget/ViewFlipper;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPage;->access$12(Lcom/netease/newsreader/activity/DetailPage;)Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setOutAnimation(Landroid/view/animation/Animation;)V

    .line 1094
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$2(Lcom/netease/newsreader/activity/DetailPage;)Landroid/widget/ViewFlipper;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showNext()V

    .line 1096
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$2(Lcom/netease/newsreader/activity/DetailPage;)Landroid/widget/ViewFlipper;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->getCurrentView()Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    invoke-virtual {v0, v3}, Landroid/widget/FrameLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 1098
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$13(Lcom/netease/newsreader/activity/DetailPage;)Ljava/util/HashMap;

    move-result-object v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$13(Lcom/netease/newsreader/activity/DetailPage;)Ljava/util/HashMap;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/HashMap;->clear()V

    .line 1099
    :cond_3
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPage;->access$14(Lcom/netease/newsreader/activity/DetailPage;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/netease/newsreader/util/FileUtils;->readDetailPageData(Ljava/lang/String;)Ljava/util/HashMap;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/netease/newsreader/activity/DetailPage;->access$15(Lcom/netease/newsreader/activity/DetailPage;Ljava/util/HashMap;)V

    if-nez v1, :cond_5

    .line 1100
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$16(Lcom/netease/newsreader/activity/DetailPage;)Z

    move-result v12

    .line 1101
    .local v12, t:Z
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$14(Lcom/netease/newsreader/activity/DetailPage;)Ljava/lang/String;

    move-result-object v7

    .line 1102
    .local v7, did:Ljava/lang/String;
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$4(Lcom/netease/newsreader/activity/DetailPage;)Ljava/lang/String;

    move-result-object v6

    .line 1103
    .local v6, cid:Ljava/lang/String;
    new-instance v0, Lcom/netease/newsreader/activity/DetailPage$1$1;

    invoke-direct {v0, p0, v12, v6, v7}, Lcom/netease/newsreader/activity/DetailPage$1$1;-><init>(Lcom/netease/newsreader/activity/DetailPage$1;ZLjava/lang/String;Ljava/lang/String;)V

    .line 1121
    invoke-virtual {v0}, Lcom/netease/newsreader/activity/DetailPage$1$1;->start()V

    goto/16 :goto_0

    .line 1086
    .end local v6           #cid:Ljava/lang/String;
    .end local v7           #did:Ljava/lang/String;
    .end local v12           #t:Z
    :cond_4
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$9(Lcom/netease/newsreader/activity/DetailPage;)Landroid/webkit/WebView;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/webkit/WebView;->setId(I)V

    .line 1087
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$9(Lcom/netease/newsreader/activity/DetailPage;)Landroid/webkit/WebView;

    move-result-object v0

    sget-object v1, Lcom/netease/newsreader/activity/DetailPage;->blankHtml:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_1

    .line 1123
    :cond_5
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$18(Lcom/netease/newsreader/activity/DetailPage;)V

    goto/16 :goto_0

    .line 1129
    .end local v10           #smap:Ljava/util/HashMap;
    :cond_6
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPage;->access$5(Lcom/netease/newsreader/activity/DetailPage;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-static {v0, v1}, Lcom/netease/newsreader/activity/DetailPage;->access$7(Lcom/netease/newsreader/activity/DetailPage;I)V

    .line 1130
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    const-string v1, "\u5df2\u5230\u6700\u540e\u4e00\u7bc7"

    invoke-static {v0, v1}, Lcom/netease/newsreader/activity/DetailPage;->access$19(Lcom/netease/newsreader/activity/DetailPage;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 1134
    :cond_7
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$20(Lcom/netease/newsreader/activity/DetailPage;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPage;->access$14(Lcom/netease/newsreader/activity/DetailPage;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I

    move-result v8

    .line 1136
    .local v8, i:I
    if-eq v8, v4, :cond_c

    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$20(Lcom/netease/newsreader/activity/DetailPage;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-ge v8, v0, :cond_c

    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$6(Lcom/netease/newsreader/activity/DetailPage;)I

    move-result v0

    if-eq v0, v4, :cond_c

    .line 1138
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$20(Lcom/netease/newsreader/activity/DetailPage;)Ljava/util/ArrayList;

    move-result-object v0

    add-int/lit8 v1, v8, 0x1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Ljava/lang/String;

    .line 1140
    .local v9, nextdocid:Ljava/lang/String;
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    iget-object v0, v0, Lcom/netease/newsreader/activity/DetailPage;->db:Landroid/database/sqlite/SQLiteDatabase;

    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPage;->access$4(Lcom/netease/newsreader/activity/DetailPage;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v9, v1}, Lcom/netease/newsreader/db/DBUtils;->isSpecial(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;Ljava/lang/String;)Z

    move-result v11

    .line 1141
    .local v11, specialflag:Z
    if-eqz v11, :cond_8

    .line 1142
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    const-string v1, "\u4e0b\u7bc7\u4e3a\u4e13\u9898\n  \u65e0\u6cd5\u7ffb\u9875"

    invoke-static {v0, v1}, Lcom/netease/newsreader/activity/DetailPage;->access$19(Lcom/netease/newsreader/activity/DetailPage;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 1145
    :cond_8
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$6(Lcom/netease/newsreader/activity/DetailPage;)I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    invoke-static {v0, v1}, Lcom/netease/newsreader/activity/DetailPage;->access$7(Lcom/netease/newsreader/activity/DetailPage;I)V

    .line 1146
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0, v9}, Lcom/netease/newsreader/activity/DetailPage;->access$8(Lcom/netease/newsreader/activity/DetailPage;Ljava/lang/String;)V

    .line 1147
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/util/FileUtils;->clearCache(Landroid/content/Context;)V

    .line 1148
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$2(Lcom/netease/newsreader/activity/DetailPage;)Landroid/widget/ViewFlipper;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->getCurrentView()Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    invoke-virtual {v0, v2}, Landroid/widget/FrameLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/webkit/WebView;

    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPage;->access$9(Lcom/netease/newsreader/activity/DetailPage;)Landroid/webkit/WebView;

    move-result-object v1

    if-ne v0, v1, :cond_a

    .line 1149
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$10(Lcom/netease/newsreader/activity/DetailPage;)Landroid/webkit/WebView;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/webkit/WebView;->setId(I)V

    .line 1150
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$10(Lcom/netease/newsreader/activity/DetailPage;)Landroid/webkit/WebView;

    move-result-object v0

    sget-object v1, Lcom/netease/newsreader/activity/DetailPage;->blankHtml:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    .line 1159
    :goto_2
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$2(Lcom/netease/newsreader/activity/DetailPage;)Landroid/widget/ViewFlipper;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPage;->access$11(Lcom/netease/newsreader/activity/DetailPage;)Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setInAnimation(Landroid/view/animation/Animation;)V

    .line 1160
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$2(Lcom/netease/newsreader/activity/DetailPage;)Landroid/widget/ViewFlipper;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPage;->access$12(Lcom/netease/newsreader/activity/DetailPage;)Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ViewFlipper;->setOutAnimation(Landroid/view/animation/Animation;)V

    .line 1161
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$2(Lcom/netease/newsreader/activity/DetailPage;)Landroid/widget/ViewFlipper;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->showNext()V

    .line 1163
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$2(Lcom/netease/newsreader/activity/DetailPage;)Landroid/widget/ViewFlipper;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->getCurrentView()Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    invoke-virtual {v0, v3}, Landroid/widget/FrameLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 1165
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$13(Lcom/netease/newsreader/activity/DetailPage;)Ljava/util/HashMap;

    move-result-object v0

    if-eqz v0, :cond_9

    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$13(Lcom/netease/newsreader/activity/DetailPage;)Ljava/util/HashMap;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/HashMap;->clear()V

    .line 1166
    :cond_9
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    iget-object v1, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v1}, Lcom/netease/newsreader/activity/DetailPage;->access$14(Lcom/netease/newsreader/activity/DetailPage;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/netease/newsreader/util/FileUtils;->readDetailPageData(Ljava/lang/String;)Ljava/util/HashMap;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/netease/newsreader/activity/DetailPage;->access$15(Lcom/netease/newsreader/activity/DetailPage;Ljava/util/HashMap;)V

    if-nez v1, :cond_b

    .line 1167
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$16(Lcom/netease/newsreader/activity/DetailPage;)Z

    move-result v12

    .line 1168
    .restart local v12       #t:Z
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$14(Lcom/netease/newsreader/activity/DetailPage;)Ljava/lang/String;

    move-result-object v7

    .line 1169
    .restart local v7       #did:Ljava/lang/String;
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$4(Lcom/netease/newsreader/activity/DetailPage;)Ljava/lang/String;

    move-result-object v6

    .line 1170
    .restart local v6       #cid:Ljava/lang/String;
    new-instance v0, Lcom/netease/newsreader/activity/DetailPage$1$2;

    invoke-direct {v0, p0, v12, v6, v7}, Lcom/netease/newsreader/activity/DetailPage$1$2;-><init>(Lcom/netease/newsreader/activity/DetailPage$1;ZLjava/lang/String;Ljava/lang/String;)V

    .line 1188
    invoke-virtual {v0}, Lcom/netease/newsreader/activity/DetailPage$1$2;->start()V

    goto/16 :goto_0

    .line 1153
    .end local v6           #cid:Ljava/lang/String;
    .end local v7           #did:Ljava/lang/String;
    .end local v12           #t:Z
    :cond_a
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$9(Lcom/netease/newsreader/activity/DetailPage;)Landroid/webkit/WebView;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/webkit/WebView;->setId(I)V

    .line 1154
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$9(Lcom/netease/newsreader/activity/DetailPage;)Landroid/webkit/WebView;

    move-result-object v0

    sget-object v1, Lcom/netease/newsreader/activity/DetailPage;->blankHtml:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_2

    .line 1190
    :cond_b
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$18(Lcom/netease/newsreader/activity/DetailPage;)V

    goto/16 :goto_0

    .line 1193
    .end local v9           #nextdocid:Ljava/lang/String;
    .end local v11           #specialflag:Z
    :cond_c
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$20(Lcom/netease/newsreader/activity/DetailPage;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-ne v8, v0, :cond_0

    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$6(Lcom/netease/newsreader/activity/DetailPage;)I

    move-result v0

    if-eq v0, v4, :cond_0

    .line 1199
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$4(Lcom/netease/newsreader/activity/DetailPage;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "s"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_d

    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v0}, Lcom/netease/newsreader/activity/DetailPage;->access$4(Lcom/netease/newsreader/activity/DetailPage;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "S"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_e

    .line 1200
    :cond_d
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    const-string v1, "\u5df2\u5230\u6700\u540e\u4e00\u7bc7"

    invoke-static {v0, v1}, Lcom/netease/newsreader/activity/DetailPage;->access$19(Lcom/netease/newsreader/activity/DetailPage;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 1202
    :cond_e
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    const-string v1, ""

    iget-object v2, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v2}, Lcom/netease/newsreader/activity/DetailPage;->access$4(Lcom/netease/newsreader/activity/DetailPage;)Ljava/lang/String;

    move-result-object v2

    iget-object v4, p0, Lcom/netease/newsreader/activity/DetailPage$1;->this$0:Lcom/netease/newsreader/activity/DetailPage;

    invoke-static {v4}, Lcom/netease/newsreader/activity/DetailPage;->access$6(Lcom/netease/newsreader/activity/DetailPage;)I

    move-result v4

    add-int/lit8 v4, v4, 0x1

    const/4 v5, 0x2

    invoke-static/range {v0 .. v5}, Lcom/netease/newsreader/activity/DetailPage;->access$21(Lcom/netease/newsreader/activity/DetailPage;Ljava/lang/String;Ljava/lang/String;ZII)V

    goto/16 :goto_0
.end method
